package com.example.activiti;

import org.activiti.image.ProcessDiagramGenerator;
import org.activiti.image.impl.DefaultProcessDiagramGenerator;
import org.activiti.spring.boot.SecurityAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;


@SpringBootApplication(exclude = SecurityAutoConfiguration.class)
public class ActivitiApplication {

	@Bean
	ProcessDiagramGenerator getProcessDiagramGenerator(){
		return new DefaultProcessDiagramGenerator();
	}

	public static void main(String[] args) {
		SpringApplication.run(ActivitiApplication.class, args);
	}

}
